package com.assistant.common;


import javax.xml.crypto.Data;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    public static String dataFormatUtil(Date date){
        SimpleDateFormat temp = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        return temp.format(date);
    }
}
